package c.c.c.c;

import android.content.Intent;
import android.os.Bundle;

public final class b {
    public static boolean a(Intent intent) {
        if (intent == null) {
            return false;
        }
        boolean b2 = b(intent.getExtras());
        if (!b2) {
            return b2;
        }
        intent.replaceExtras(new Bundle());
        return b2;
    }

    public static boolean b(Bundle bundle) {
        if (bundle != null) {
            try {
                bundle.containsKey((String) null);
            } catch (Exception unused) {
                bundle.clear();
                return true;
            }
        }
        return false;
    }
}
